package myzzyl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import myzzyl.domain.pojo.NursingProjectPlan;
import myzzyl.domain.vo.NursingProjectPlanVo;
import org.apache.ibatis.annotations.Delete;

import java.util.List;

/**
* @author 33249
* @description 针对表【nursing_project_plan(护理项目计划表)】的数据库操作Mapper
* @createDate 2025-08-10 10:20:15
* @Entity myzzyl.domain.pojo.NursingProjectPlan
*/
public interface NursingProjectPlanMapper extends BaseMapper<NursingProjectPlan> {


    // 批量插入
    int batchInsert(List<NursingProjectPlan> projectPlans);

    @Delete("delete from nursing_project_plan where plan_id = #{id}")
    void deleteByPlanId(Integer id);


    List<NursingProjectPlanVo> selectByPlanId(Integer id);
}




